<?php

return [
    //小程序配置
    'mini_program' => [
        'app_id' => "wxf252e661e3df5e44",
        'secret' => "ad341394e4006927c64c77dcfd872308",

        'response_type'=>'array',// 下面为可选项,指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'log' => [
            'level' => 'debug',
            'file' => './wechat.log',
        ],
    ],

    //微信支付配置
    'wechat_pay' => [
        // 必要配置
        'app_id' => 'wxf252e661e3df5e44',
        'mch_id' => '1682657170', //商户号
        'key' => 'e7b7c8aebf8d7432fda7e19f7d6d8c9b',
        'cert_path' => '../cert/apiclient_cert.pem',
        'key_path' => '../cert/apiclient_key.pem',
        'wx_certificates' => '3509FD48C740EE4AC772575E3974EF0AD000DF91',
        'log' => [
            'level' => 'debug',
            'file' => '../logs/wechat_pay.log',
        ],
    ],

];
